package com.csu.bailan.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@TableName("orders")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Order {
    @TableId(value = "order_id")
    private String orderId;
    @TableField("user_id")
    private String userId;
    @TableField("addr_id")
    private String addrId;
    @TableField("total_price")
    private Double totalPrice;
    @TableField("to_pay")
    private Double toPay;
    private String comment;
    @TableField("order_status")
    private Integer orderStatus;
    @TableField("create_time")
    private Date createTime;
}
